package com.neuedu.boot.boot01helloworld.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 金山
 * 项目：boot-learn
 * site: https://blog.fulfill.com.cn
 * 描述
 * @data 2025/3/1913:43
 */
@RestController
// @PropertySource("classpath:")

// @ConfigurationProperties(prefix = "server")
public class UserController {



    /**
     *  http://localhost:8080/
     *  :8080
      * @return
     */
    @RequestMapping("")
    String index(){
        return  "success";
    }
}
